using AKit.Framework.Infrastructure;
using AKit.Framework.Infrastructure.Logging.Serilog;

StaticLogger.EnsureInitialized();
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddHttpContextAccessor();
builder.ConfigureAKitFramework();

var app = builder.Build();

app.UseAKitFramework();
await app.RunAsync();
